package com.oig.sys.workflow.api;

import com.oig.sys.workflow.api.factory.AuditCallServiceFallbackFactory;
import com.oig.sys.workflow.dto.AuditCallMsgDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;


@FeignClient(contextId="auditCallService", value="sys-workflow-server", path="/auditCall", fallbackFactory= AuditCallServiceFallbackFactory.class)
public interface AuditCallService {


    @PostMapping(value = "/rec")
    void rec(@RequestBody AuditCallMsgDto auditCallMsgDto);


}
